//
//  TeacherCourseSelectModel.m
//  优学荟管理系统
//
//  Created by 星道 on 2017/9/29.
//  Copyright © 2017年 星道三好. All rights reserved.
//

#import "TeacherCourseSelectModel.h"

@implementation TeacherCourseSelectModel

//创建类
+ (instancetype)HNObjectValuesForKey:(NSDictionary *)Dict
{
    return [[self alloc] initWithHNObjectValuesForKey:Dict];
}

//实例化
- (instancetype)initWithHNObjectValuesForKey:(NSDictionary *)Dict
{
    self = [super init];
    if (self)
    {
        //KVC
        [self setValuesForKeysWithDictionary:Dict];
        self.isHideDeleteImg = YES;
    }
    return self;
}

- (instancetype)init {
    
    self = [super init];
    if (self) {
        self.isHideDeleteImg = YES;
    }
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (id)copyWithZone:(NSZone *)zone {
    
    TeacherCourseSelectModel *model = [[TeacherCourseSelectModel alloc] init];
    model.petName = self.petName;
    model.uid = self.uid;
    model.isHideDeleteImg = self.isHideDeleteImg;
    model.isLastObject = self.isLastObject;
    return model;
}
@end

